package com.weitu.permission.department.entity;


import java.io.Serializable;

public class Department implements Serializable {

    /**
     * id
     */
    private String id;

    /**
     * 部门编号
     */
    private String code;

    /**
     * 部门名称
     */
    private String name;

    /**
     * 部门类型
     */
    private Integer deptType;

    /**
     * 父级组织机构ID
     */
    private String parentId;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 删除标记
     */
    private Integer delState;

    /**
     * 排序号
     */
    private Integer sort;

    /**
     * 添加人ID
     */
    private String addUserId;

    /**
     * 添加时间
     */
    private String addTime;

    /**
     * 修改人ID
     */
    private String updateUserId;

    /**
     * Column: SYS_DEPARTMENT.updateTime
     */
    private String updateTime;

    /**
     * 修改时间
     */
    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getDeptType() {
        return deptType;
    }

    public void setDeptType(Integer deptType) {
        this.deptType = deptType;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }

    public Integer getDelState() {
        return delState;
    }

    public void setDelState(Integer delState) {
        this.delState = delState;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(String addUserId) {
        this.addUserId = addUserId == null ? null : addUserId.trim();
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime == null ? null : addTime.trim();
    }

    public String getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(String updateUserId) {
        this.updateUserId = updateUserId == null ? null : updateUserId.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    @Override
    public String toString() {
        return "Department{" +
                "id='" + id + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", deptType=" + deptType +
                ", parentId='" + parentId + '\'' +
                ", remarks='" + remarks + '\'' +
                ", delState=" + delState +
                ", sort=" + sort +
                ", addUserId='" + addUserId + '\'' +
                ", addTime='" + addTime + '\'' +
                ", updateUserId='" + updateUserId + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
